#pragma once

#include <windows.h>
#include <windowsx.h>

//typedef void ( *LOL)(int);

class myWindow {
	// extended window class structure
	WNDCLASSEX wc;
	// handle to window
	HWND hWnd;
	// instance of the application
	HINSTANCE hInst;	

	// windows messages processing function
	static LRESULT CALLBACK myWndProc(HWND hW, UINT msg, WPARAM wParam, LPARAM lParam);
public:
	myWindow();
	~myWindow();
	
	// a MUST fuction to create & show the window 
	bool myCreateWindow(HINSTANCE hInst, LPCWSTR title, bool fullscreen, int w, int h);	
	// function returning handle to the window
	HWND getWndHandle() { return hWnd; }
};